import request from '@/utils/request'

export function searchUser(name) {
    return request({
        url: '/vue-element-admin/search/user',
        method: 'get',
        params: { name }
    })
}

export function transactionList(query) {
    return request({
        url: '/vue-element-admin/transaction/list',
        method: 'get',
        params: query
    })
}

// Mock my project mars edu school manager api data
export function getStudentList(query) {
    return request({
        url: '/api/school/getStudentList',
        method: 'get',
        params: query
    })
}
